package org.example.codegenerate.modelext.validateexcep;
public enum EnumERRor {

    NOTBLANK("9001", "不能为null"),
    LENGTH("9002", "长度最大已经超过");

    EnumERRor(String code, String type) {
        this.code = code;
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    String code;
    String type;
}